Optimal. Leaf size=114 \[ -\frac {51516}{329623 (1+2 x)}+\frac {37+20 x}{434 (1+2 x) \left (2+3 x+5 x^2\right )^2}+\frac {6427+5820 x}{47089 (1+2 x) \left (2+3 x+5 x^2\right )}-\frac {1065012 \tan ^{-1}\left (\frac {3+10 x}{\sqrt {31}}\right )}{2307361 \sqrt {31}}+\frac {384 \log (1+2 x)}{2401}-\frac {192 \log \left (2+3 x+5 x^2\right )}{2401} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 114, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {754, 836, 814,
648, 632, 210, 642} \begin {gather*} -\frac {1065012 \text {ArcTan}\left (\frac {10 x+3}{\sqrt {31}}\right )}{2307361 \sqrt {31}}+\frac {20 x+37}{434 (2 x+1) \left (5 x^2+3 x+2\right )^2}+\frac {5820 x+6427}{47089 (2 x+1) \left (5 x^2+3 x+2\right )}-\frac {192 \log \left (5 x^2+3 x+2\right )}{2401}-\frac {51516}{329623 (2 x+1)}+\frac {384 \log (2 x+1)}{2401} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 632
Rule 642
Rule 648
Rule 754
Rule 814
Rule 836
Rubi steps
\begin {align*} \int \frac {1}{(1+2 x)^2 \left (2+3 x+5 x^2\right )^3} \, dx &=\frac {37+20 x}{434 (1+2 x) \left (2+3 x+5 x^2\right )^2}+\frac {1}{434} \int \frac {382+160 x}{(1+2 x)^2 \left (2+3 x+5 x^2\right )^2} \, dx\\ &=\frac {37+20 x}{434 (1+2 x) \left (2+3 x+5 x^2\right )^2}+\frac {6427+5820 x}{47089 (1+2 x) \left (2+3 x+5 x^2\right )}+\frac {\int \frac {74796+46560 x}{(1+2 x)^2 \left (2+3 x+5 x^2\right )} \, dx}{94178}\\ &=\frac {37+20 x}{434 (1+2 x) \left (2+3 x+5 x^2\right )^2}+\frac {6427+5820 x}{47089 (1+2 x) \left (2+3 x+5 x^2\right )}+\frac {\int \left (\frac {206064}{7 (1+2 x)^2}+\frac {1476096}{49 (1+2 x)}-\frac {12 (181007+307520 x)}{49 \left (2+3 x+5 x^2\right )}\right ) \, dx}{94178}\\ &=-\frac {51516}{329623 (1+2 x)}+\frac {37+20 x}{434 (1+2 x) \left (2+3 x+5 x^2\right )^2}+\frac {6427+5820 x}{47089 (1+2 x) \left (2+3 x+5 x^2\right )}+\frac {384 \log (1+2 x)}{2401}-\frac {6 \int \frac {181007+307520 x}{2+3 x+5 x^2} \, dx}{2307361}\\ &=-\frac {51516}{329623 (1+2 x)}+\frac {37+20 x}{434 (1+2 x) \left (2+3 x+5 x^2\right )^2}+\frac {6427+5820 x}{47089 (1+2 x) \left (2+3 x+5 x^2\right )}+\frac {384 \log (1+2 x)}{2401}-\frac {192 \int \frac {3+10 x}{2+3 x+5 x^2} \, dx}{2401}-\frac {532506 \int \frac {1}{2+3 x+5 x^2} \, dx}{2307361}\\ &=-\frac {51516}{329623 (1+2 x)}+\frac {37+20 x}{434 (1+2 x) \left (2+3 x+5 x^2\right )^2}+\frac {6427+5820 x}{47089 (1+2 x) \left (2+3 x+5 x^2\right )}+\frac {384 \log (1+2 x)}{2401}-\frac {192 \log \left (2+3 x+5 x^2\right )}{2401}+\frac {1065012 \text {Subst}\left (\int \frac {1}{-31-x^2} \, dx,x,3+10 x\right )}{2307361}\\ &=-\frac {51516}{329623 (1+2 x)}+\frac {37+20 x}{434 (1+2 x) \left (2+3 x+5 x^2\right )^2}+\frac {6427+5820 x}{47089 (1+2 x) \left (2+3 x+5 x^2\right )}-\frac {1065012 \tan ^{-1}\left (\frac {3+10 x}{\sqrt {31}}\right )}{2307361 \sqrt {31}}+\frac {384 \log (1+2 x)}{2401}-\frac {192 \log \left (2+3 x+5 x^2\right )}{2401}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 98, normalized size = 0.86 \begin {gather*} \frac {4 \left (-\frac {1668296}{1+2 x}-\frac {47089 (-43+270 x)}{8 \left (2+3 x+5 x^2\right )^2}-\frac {217 (-15179+51910 x)}{4 \left (2+3 x+5 x^2\right )}-266253 \sqrt {31} \tan ^{-1}\left (\frac {3+10 x}{\sqrt {31}}\right )+2859936 \log (1+2 x)-1429968 \log \left (4 \left (2+3 x+5 x^2\right )\right )\right )}{71528191} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.00, size = 77, normalized size = 0.68
method | result | size |
default | \(-\frac {32}{343 \left (2 x +1\right )}+\frac {384 \ln \left (2 x +1\right )}{2401}-\frac {25 \left (\frac {72674}{961} x^{3}+\frac {111769}{4805} x^{2}+\frac {613046}{24025} x -\frac {490329}{48050}\right )}{2401 \left (5 x^{2}+3 x +2\right )^{2}}-\frac {192 \ln \left (5 x^{2}+3 x +2\right )}{2401}-\frac {1065012 \arctan \left (\frac {\left (3+10 x \right ) \sqrt {31}}{31}\right ) \sqrt {31}}{71528191}\) | \(77\) |
risch | \(\frac {-\frac {1287900}{329623} x^{4}-\frac {1341780}{329623} x^{3}-\frac {1146799}{329623} x^{2}-\frac {386555}{329623} x -\frac {175969}{659246}}{\left (2 x +1\right ) \left (5 x^{2}+3 x +2\right )^{2}}+\frac {384 \ln \left (2 x +1\right )}{2401}-\frac {192 \ln \left (787674000100 x^{2}+472604400060 x +315069600040\right )}{2401}-\frac {1065012 \sqrt {31}\, \arctan \left (\frac {\left (887510 x +266253\right ) \sqrt {31}}{2751281}\right )}{71528191}\) | \(80\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 87, normalized size = 0.76 \begin {gather*} -\frac {1065012}{71528191} \, \sqrt {31} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) - \frac {2575800 \, x^{4} + 2683560 \, x^{3} + 2293598 \, x^{2} + 773110 \, x + 175969}{659246 \, {\left (50 \, x^{5} + 85 \, x^{4} + 88 \, x^{3} + 53 \, x^{2} + 20 \, x + 4\right )}} - \frac {192}{2401} \, \log \left (5 \, x^{2} + 3 \, x + 2\right ) + \frac {384}{2401} \, \log \left (2 \, x + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.42, size = 161, normalized size = 1.41 \begin {gather*} -\frac {558948600 \, x^{4} + 582332520 \, x^{3} + 2130024 \, \sqrt {31} {\left (50 \, x^{5} + 85 \, x^{4} + 88 \, x^{3} + 53 \, x^{2} + 20 \, x + 4\right )} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + 497710766 \, x^{2} + 11439744 \, {\left (50 \, x^{5} + 85 \, x^{4} + 88 \, x^{3} + 53 \, x^{2} + 20 \, x + 4\right )} \log \left (5 \, x^{2} + 3 \, x + 2\right ) - 22879488 \, {\left (50 \, x^{5} + 85 \, x^{4} + 88 \, x^{3} + 53 \, x^{2} + 20 \, x + 4\right )} \log \left (2 \, x + 1\right ) + 167764870 \, x + 38185273}{143056382 \, {\left (50 \, x^{5} + 85 \, x^{4} + 88 \, x^{3} + 53 \, x^{2} + 20 \, x + 4\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.12, size = 102, normalized size = 0.89 \begin {gather*} \frac {- 2575800 x^{4} - 2683560 x^{3} - 2293598 x^{2} - 773110 x - 175969}{32962300 x^{5} + 56035910 x^{4} + 58013648 x^{3} + 34940038 x^{2} + 13184920 x + 2636984} + \frac {384 \log {\left (x + \frac {1}{2} \right )}}{2401} - \frac {192 \log {\left (x^{2} + \frac {3 x}{5} + \frac {2}{5} \right )}}{2401} - \frac {1065012 \sqrt {31} \operatorname {atan}{\left (\frac {10 \sqrt {31} x}{31} + \frac {3 \sqrt {31}}{31} \right )}}{71528191} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.64, size = 108, normalized size = 0.95 \begin {gather*} -\frac {1065012}{71528191} \, \sqrt {31} \arctan \left (-\frac {1}{31} \, \sqrt {31} {\left (\frac {7}{2 \, x + 1} - 2\right )}\right ) - \frac {32}{343 \, {\left (2 \, x + 1\right )}} + \frac {4 \, {\left (\frac {1178375}{2 \, x + 1} - \frac {2320190}{{\left (2 \, x + 1\right )}^{2}} + \frac {87843}{{\left (2 \, x + 1\right )}^{3}} - 1304250\right )}}{2307361 \, {\left (\frac {4}{2 \, x + 1} - \frac {7}{{\left (2 \, x + 1\right )}^{2}} - 5\right )}^{2}} - \frac {192}{2401} \, \log \left (-\frac {4}{2 \, x + 1} + \frac {7}{{\left (2 \, x + 1\right )}^{2}} + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.12, size = 93, normalized size = 0.82 \begin {gather*} \frac {384\,\ln \left (x+\frac {1}{2}\right )}{2401}-\frac {\frac {25758\,x^4}{329623}+\frac {134178\,x^3}{1648115}+\frac {1146799\,x^2}{16481150}+\frac {77311\,x}{3296230}+\frac {175969}{32962300}}{x^5+\frac {17\,x^4}{10}+\frac {44\,x^3}{25}+\frac {53\,x^2}{50}+\frac {2\,x}{5}+\frac {2}{25}}+\ln \left (x+\frac {3}{10}-\frac {\sqrt {31}\,1{}\mathrm {i}}{10}\right )\,\left (-\frac {192}{2401}+\frac {\sqrt {31}\,532506{}\mathrm {i}}{71528191}\right )-\ln \left (x+\frac {3}{10}+\frac {\sqrt {31}\,1{}\mathrm {i}}{10}\right )\,\left (\frac {192}{2401}+\frac {\sqrt {31}\,532506{}\mathrm {i}}{71528191}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________